<div class="row">
	<div class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
		<h1 class="page-title txt-color-blueDark">
			<i class="fa fa-table fa-fw "></i> 用户管理
		</h1>
	</div>
</div>

<section id="widget-grid">
	<div class="row">
		<!-- NEW WIDGET START -->
		<article class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
			<div class="jarviswidget jarviswidget" id="wid-id-0"
				data-widget-editbutton="false">
				<header>
					<span class="widget-icon"> <i class="fa fa-table"></i>
					</span>
					<h2>所有用户</h2>
				</header>
				<div>
					<div class="widget-body">
						<div style="margin-bottom: 10px">
							<a href="#/system/user-management/new"><span
								class="btn btn-primary btn-xs">添加用户</span></a>
						</div>
						<table class="table table-bordered">
							<thead>
								<tr>
									<th ng-repeat="column in userTable.columnDefs"
										ng-show="column['show']"
										ng-click="userTable.sort(column['field'], column['sortable'])"
										ng-class="userTable.sortingClass(column['field'], column['sortable'])">
										{{column['displayName']}}</th>
									<th>操作</th>
								</tr>
							</thead>
							<tbody>
								<tr
									ng-repeat="users in userTable.data | filter:criteria | orderBy: userTable.sortField:userTable.reverse"
									ng-class-even="'light-gray'" ng-class-odd="'dark-gray'">
									<td ng-repeat="column in userTable.columnDefs"
										ng-show="column['show']">{{users[column.field] | date :
										'longDate'}}</td>
									<td><a
										href="#/system/user-management/edit/{{users.username}}">编辑</a></td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</article>
	</div>
</section>
